Fix order of outstanding moves in queue
authorAlexander Larsson <alexl@redhat.com>
Sun, 8 Feb 2009 08:00:57 +0000 (09:00 +0100)
committerAlexander Larsson <alex@localhost.localdomain>
Thu, 2 Apr 2009 08:16:28 +0000 (10:16 +0200)
The last added move should be done last, so we need to append moves
not prepend

gdk/gdkwindow.c

index d8ced4d0058f1b468544d27180bc158fa2e81f1e..56a60357761c9f00e0a8cfa383f9241163613a47 100644 (file)
@@ -2544,7 +2544,7 @@ append_move_region (GdkWindowObject *impl_window,
   move->dy = dy;
 
   impl_window->outstanding_moves =
-    g_list_prepend (impl_window->outstanding_moves, move);
+    g_list_append (impl_window->outstanding_moves, move);
 }
 
 /* Moves bits and update area by dx/dy in impl window */